Developer --> Technical Publications
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


eject

The eject control function is used by the driver to determine when a volume becomes unmounted. If the unmounted volume was the last mounted volume of the drive, the drive is placed in a low power mode to conserve power. If the drive is also ejectable (PCMCIA, for example), a drive ejection is initiated.


Parameter block

-->

csCode

A value of 7.
-->

ioVRefNum

The logical drive number.
-->

csParam[ ]

None defined.
<--

ioResult

See result codes.
RESULT CODES

noErr

0 Successful completion, no error occurred

nsDrvErr

-56 The specified logical drive number does not exist

© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97)

Previous | Back Up One Level | Next | Show Frames | Hide Frames